package com.neutech.demo;

import java.util.Date;

public class User {
    private String name;
    private String pwd;
    private String email;
    private Date birthday;
    private int money;

    public User()
    {
    }
    public User(String name, String pwd, String email, Date birthday, int money)
    {
        this.name = name;
        this.pwd = pwd;
        this.email = email;
        this.birthday = birthday;
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", email='" + email + '\'' +
                ", birthday=" + birthday +
                ", money=" + money +
                '}';
    }
}
